package br.ufrpe.bsi.pvs.view.admin;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;

public class TelaEditarFuncionario extends JPanel {
	
	public static final TelaEditarFuncionario INSTANCE = new TelaEditarFuncionario();
	private JTextField txtNome;
	private JTextField txtLogin;
	private JPasswordField passwordSenha;
 
	/**
	 * Create the panel.
	 */
	private TelaEditarFuncionario() {
		setPreferredSize(new Dimension(1300, 700));
		setBackground(Color.WHITE);
		setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBounds(184, 11, 910, 656);
		add(panel);
		panel.setLayout(null);
		
		JLabel lbl1 = new JLabel("Editar Funcion\u00E1rio");
		lbl1.setFont(new Font("Gabriola", Font.PLAIN, 36));
		lbl1.setBounds(331, 37, 260, 27);
		panel.add(lbl1);
		
		JLabel lblNome = new JLabel("Nome");
		lblNome.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblNome.setBounds(284, 117, 57, 21);
		panel.add(lblNome);
		
		JLabel lblLogin = new JLabel("Login");
		lblLogin.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblLogin.setBounds(281, 175, 46, 21);
		panel.add(lblLogin);
		
		JLabel lblSenha = new JLabel("Senha");
		lblSenha.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblSenha.setBounds(284, 229, 73, 27);
		panel.add(lblSenha);
		
		JLabel lblTipoDeFuncionrio = new JLabel("Tipo de Funcion\u00E1rio");
		lblTipoDeFuncionrio.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblTipoDeFuncionrio.setBounds(284, 291, 153, 27);
		panel.add(lblTipoDeFuncionrio);
		
		txtNome = new JTextField();
		txtNome.setBounds(351, 114, 200, 27);
		panel.add(txtNome);
		txtNome.setColumns(10);
		
		txtLogin = new JTextField();
		txtLogin.setBounds(351, 159, 200, 50);
		panel.add(txtLogin);
		txtLogin.setColumns(10);
		
		passwordSenha = new JPasswordField();
		passwordSenha.setBounds(351, 229, 200, 50);
		panel.add(passwordSenha);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"Estoquista", "Estilista"}));
		comboBox.setSelectedIndex(0);
		comboBox.setBounds(423, 294, 111, 20);
		panel.add(comboBox);
		
		JButton btnSalvar = new JButton("Salvar");
		btnSalvar.setFont(new Font("Gabriola", Font.PLAIN, 20));
		btnSalvar.setBounds(502, 394, 89, 23);
		panel.add(btnSalvar);

	}

}
